<html> <head> <title>Module: ..\controls\djmenu</title> </head> <body bgcolor="#ffffff">
<p><i><a href="index.html">Table of Contents</a></i></p>
<table border="0" cellpadding="5" cellspacing="0" width="100%">
  <tr>
    <th rowspan="2" valign="top" align="left" width="10%" bgcolor="#88bbee"><font color="#000000">Module: ..\controls\djmenu</font> </th>
    <th bgcolor="#88bbee" width="90%" align="right"><font color="#000000">djmenu.py</font> </th>
  </tr>
  <tr>
  <td>
  
  <table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> methods&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">&nbsp;</font> </th>
    </tr>
    <tr>
      <td><a href="#__init__">__init__</a><br><a href="#disable_menuitem">disable_menuitem</a><br><a href="#enable_menuitem">enable_menuitem</a><br><a href="#get_menuitem_checked">get_menuitem_checked</a><br><a href="#get_menuitem_property">get_menuitem_property</a><br><a href="#set_contextual">set_contextual</a><br><a href="#set_menuitem_checked">set_menuitem_checked</a><br><a href="#set_menuitem_property">set_menuitem_property</a><br></td>
      </tr>
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="__init__"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>__init__( parent, *args)</pre>
			Constructs a menu.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="disable_menuitem"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">disable_menuitem&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>disable_menuitem( strTag)</pre>
			Disable menuitem so that it cannot be chosen.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="enable_menuitem"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">enable_menuitem&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>enable_menuitem( strTag)</pre>
			Enable menuitem (if it has been disabled) so that it can be chosen.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="get_menuitem_checked"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">get_menuitem_checked&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>get_menuitem_checked( strTag)</pre>
			Determine if a menuitem is checked. The menuItem must have been set up as a checkbox, for example 'To&ggle||TOGGLE|checkbox' sets up a checkbox menu item with tag 'TOGGLE'.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="get_menuitem_property"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">get_menuitem_property&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>get_menuitem_property(strTag, strAttribute)</pre>
			Get a property of a menuItem
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="set_contextual"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">set_contextual&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>set_contextual( parent)</pre>
			Turn this into a contextual menu that will appear upon right-click.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="set_menuitem_checked"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">set_menuitem_checked&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>set_menuitem_checked( strTag, value)</pre>
			Set if a menuitem is checked. The menuItem must have been set up as a checkbox, for example 'To&ggle||TOGGLE|checkbox' sets up a checkbox menu item with tag 'TOGGLE'.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="set_menuitem_property"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">set_menuitem_property&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>set_menuitem_property(strTag, strAttribute, value)</pre>
			Set a property of a menuItem
        </font></td></tr>
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> properties&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">&nbsp;</font> </th>
    </tr>
    <tr>
      <td><a href="#bgcolor">bgcolor</a><br><a href="#borderstyle">borderstyle</a><br><a href="#borderwidth">borderwidth</a><br><a href="#color">color</a><br><a href="#font">font</a><br><a href="#selectioncolor">selectioncolor</a><br></td>
      </tr>
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="bgcolor"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">bgcolor&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	Background color of the listbox. RGB triplet, such as (255,0,0) for pure red. Evidently does not have effect on Windows.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="borderstyle"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">borderstyle&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	Border style. One of 'sunken','raised','groove','ridge','flat'. Default is 'sunken'. Evidently does not have effect on Windows.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="borderwidth"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">borderwidth&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	An integer, width of border in pixels. Evidently does not have effect on Windows.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="color"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">color&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	Foreground color of the listbox. RGB triplet. Evidently does not have effect on Windows.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="font"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">font&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	Set font of items in the listbox. Standard tkinter font format, such as ('Times New Roman', 12, 'normal'). Evidently does not have effect on Windows.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="selectioncolor"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">selectioncolor&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre></pre>
	Color of text when an item is selected. RGB triplet. Evidently does not have effect on Windows.
        </font></td></tr></table>  </td>   </tr>
  
</table>
<hr>
<p><i><a href="index.html">Table of Contents</a></i></p>
<font size="-2"><i>This document was automatically generated on 2008-02-29 23:29:05.511000 by something that looks like HappyDoc but isn't really.</font>
</body> </html> 